/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

@import url("tools/typography.css");

:host {
  @mixin font-inline;

  color: var(--color-gray80);
  display: block;
}

:host(.collapsable) {
  container-type: inline-size;
}

.breadcrumb-wrapper {
  align-items: center;
  display: flex;
}

.crumb {
  padding: var(--spacing-4);
  white-space: nowrap;
}

.crumb-divider {
  block-size: var(--spacing-8);
  inline-size: var(--spacing-8);
}

.accent {
  color: var(--color-gray100);
  font-weight: 500;
}

.crumb-icon {
  block-size: var(--spacing-16);
  color: var(--color-gray40);
  inline-size: var(--spacing-16);
}

.collapsed {
  display: none;
}

@container (inline-size < 200px) {
  .expanded {
    display: none;
  }

  .collapsed {
    display: block;
  }
}
